<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
	"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
	<title>Orion / Maqetta Integration Testing</title>

	<!-- CUSTOMIZATION: Make sure "../" URLs for href/src attributes are correct -->
	<link rel="stylesheet" type="text/css" href="../css/testplan.css" />
</head>

<body>
	<div class="navbar">
		<a href="./" title="show directory contents"><code>./</code> (show contents of this directory)</a>
		&nbsp;&nbsp;&nbsp;&nbsp;
		<a href="../" title="show directory contents"><code>../</code> (show contents of parent directory)</a>
	</div>
	<hr />
	<h1 class="test_title">Orion / Maqetta Integration Testing</h1>

	<h2 class="test_section">Create Project from Orion</h2>
	<h3 class="steps_subsection">Steps</h3>
	<ol class="steps">
		<li>Login to Maqetta.  Select <strong>Open &gt; Orion Navigator</strong> to open Orion in a new tab.</li>
		<li>In Orion, select <strong>New &gt; Folder</strong>.  Click to open the newly created folder.</li>
		<li>Create another new folder here.</li>
		<li>Select the new folder by clicking on the same line, but to the right of the folder text (the whole row should be highlighted).  Select <strong>Actions &gt; Open in Maqetta</strong>.</li>
		<li>When Maqetta opens, verify that the default project files are listed in the <strong>Files</strong> view.  Also verify that the proper project is open in the project drop down.</li>
		<li>Open <strong>Sample1.html</strong>.  Add a widget.  Save/preview/close.</li>
		<li>Select <strong>Open &gt; Orion Navigator</strong> to go back to Orion.</li>
		<li>Expand the folders you created.  Open <strong>Sample1.html</strong> and verify that the widget you previously added is in the source.</li> 
	</ol>
	

	<h2 class="test_section">Create New User as Administrator</h2>
	<p><em><strong>NOTE:</strong> This test is only valid when <strong>not</strong> using a central authentication server (i.e. LDAP).</em></p>
	<h3 class="steps_subsection">Steps</h3>
	<ol class="steps">
		<li>Log out of Maqetta.</li> 
		<li>Load the URL <em>http(s)://{maqetta_base}:{port}/profile/user-list.html</em> (include <em>/{context}</em> if testing WAR build).</li>
		<li>Login as user "admin".  You should see a list of registered users.</li>
		<li>Click on <strong>Create User</strong> and create a dummy user.
			<ul>
				<li>For <em>login</em>, Orion requires a <strong>unique, alphanumeric value</strong> (no spaces, not email). Make sure to enter the user's email as well. Click <strong>Create</strong>.</li>
				<li>If the <code>orion.auth.user.creation.force.email</code> property in <strong>maqetta.conf</strong> is set to <code>true</code>, then you will have to wait for a confirmation email on that user's email address and click the link to confirm.</li>
			</ul>
		</li>
		<li>Try to login as that user.
			<ul>
				<li><em>NOTE: You may want to use a different browser for the dummy user, so you don't have to log out of "admin" account.</em></li>
			</ul>
		</li>
		<li>Log back in as "admin" and change dummy user's password.  Try to login as user again, using new password.</li>
		<li>Log back in as "admin" and delete user.  Make sure that you cannot log in as dummy user.</li>
	</ol>
</body>
</html>
